/* 继承中的构造顺序 */
class A {
    A() {
        System.out.println("A");
    }
}

class B extends A {
    B() {
        System.out.println("B");
    }
}

class C extends B {
    C() {
        System.out.println("C");
    }
}

public class P2_Hrt {
    public static void main(String args[]) {
        new C();
    }
}
